body {
    display: flex;
    height: 750px;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-image: url("Imgs/bgImg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

input {
    border: none;
    outline: none;
}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 820px;
    height: 400px;
    border-radius: 10px;
    box-shadow: 5px 5px 20px 1px black;
    perspective: 1200px;
}

.loginDiv,
.signupDiv {
    position: absolute;
    width: 410px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all .8s ease-in-out;
    transform-origin: 410px 0;
    backface-visibility: hidden;
}

.loginDiv {
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    left: 0;
    background: radial-gradient(circle at 0px 0px, rgba(255, 255, 255, 0.6), transparent);
}

.loginDiv .loginDivContent1 {
    height: 150px;
    line-height: 150px;
    font-size: 40px;
    color: black;
    font-family: fantasy;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.loginDiv .loginDivContent2,
.loginDiv .loginDivContent3,
.signupDiv .signupDivContent2,
.signupDiv .signupDivContent3,
.signupDiv .signupDivContent4 {
    position: relative;
    height: 30px;
    margin-bottom: 25px;
}

.loginDiv .loginDivContent2 .inputUsername,
.loginDiv .loginDivContent3 .inputPassword,
.signupDiv .signupDivContent2 .inputUsername,
.signupDiv .signupDivContent3 .inputPassword,
.signupDiv .signupDivContent4 .inputTel {
    position: relative;
    height: 30px;
    width: 225px;
    background-color: white;
    border-radius: 5px;
    padding-left: 5px;
}

.loginDiv .loginDivContent .jumpLetterContainer,
.signupDiv .signupDivContent .jumpLetterContainer {
    position: absolute;
    display: flex;
    left: 5px;
    bottom: 5px;
    justify-content: center;
    align-items: center;
    letter-spacing: 5px;
    color: rgb(136, 136, 136);
    transition: all .5s linear;
}

.jumpLetter {
    font-family: fantasy;
    font-size: 16px;
}

.loginDiv .loginDivContent4 {
    height: 80px;
}

.loginDiv .loginDivContent4 .loginButton,
.signupDiv .signupDivContent5 .signupButton {
    width: 150px;
    height: 40px;
    font-size: 18px;
    color: black;
    opacity: .8;
    border: none;
    border-radius: 15px;
    margin-top: 20px;
    /* background: linear-gradient(to right top, rgb(0, 23, 44), skyblue, rgb(242, 242, 244)); */
    background: radial-gradient(circle at 0px 0px, skyblue, skyblue, rgb(118, 247, 96));
    transition: all .5s;
}

.loginDiv .loginDivContent4 .loginButton:hover,
.signupDiv .signupDivContent5 .signupButton:hover {
    background: radial-gradient(circle at 150px 40px, skyblue, skyblue, rgb(118, 247, 96));
    letter-spacing: 1px;
}

.signupDiv {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    left: 0;
    transform: rotateY(-90deg) translateZ(410px);
    background: radial-gradient(circle at 410px 450px, white, transparent);
}

.signupDiv .signupDivContent1 {
    height: 150px;
    line-height: 150px;
    font-size: 40px;
    color: black;
    font-family: fantasy;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

@keyframes backgroundMove {
    from {}

    to {
        background-position: -180px;
    }
}

.switchButton {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: 105px;
    width: 210px;
    height: 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
    background-size: 400px;
    background-repeat: no-repeat;
    background-image: linear-gradient(45deg,
            rgb(76, 186, 255),
            rgb(39, 238, 72),
            rgb(169, 0, 0));
    animation: backgroundMove 2s infinite alternate-reverse ease-in-out;
}

.switchButton::before {
    position: absolute;
    top: 0px;
    left: -5px;
    border-radius: 8px;
    content: '';
    z-index: -1;
    width: 220px;
    height: 40px;
    background: linear-gradient(45deg,
            rgb(255, 71, 71),
            rgb(47, 169, 255),
            rgb(188, 255, 42),
            rgb(255, 83, 83),
            rgb(3, 254, 216));
    animation: backgroundMove 5s infinite alternate-reverse;
    filter: blur(12px);
}

.switchButton:hover {
    letter-spacing: 1.5px;
    transform: scale(1.05);
}

/* 废弃了的旋转跳跃的移动方式 */
/* @keyframes loginDisapeare {
    from {
        transform: none;
        opacity: 1;
    }

    to {
        transform: translateX(100%) rotateZ(480deg) scale(.05);
        opacity: 0;
    }
}

@keyframes signupAppeare {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
        transform: rotate(360deg);
    }
}

@keyframes loginAppeare {
    from {
        transform: translateX(100%) rotateZ(480deg) scale(.05);
        opacity: 0;
    }

    to {
        transform: translate(0) rotate(0) scale(1);
        opacity: 1;
    }
}

@keyframes signupDisappeare {
    from {
        opacity: 1;
        transform: scale(1) rotateZ(0);
    }

    to {
        opacity: 0;
        transform: scale(.05) rotate(480deg);
    }
} */
/* 采用的旋转呈现不同内容的动画 */
@keyframes panelSpan {
    from {
        transform: rotateY(0deg) translate();
    }

    to {
        transform: rotateY(90deg) translateX(410px) translateZ(410px);
    }
}

@keyframes panelSpanR {
    from {
        transform: rotateY(90deg) translateX(410px) translateZ(410px);
    }

    to {
        transform: rotateY(0deg) translate();
    }
}

@keyframes switchButtonMoveL {
    from {
        transform: translate(0);
    }

    to {
        transform: translateX(-405px);

    }
}

@keyframes switchButtonMoveR {
    from {
        transform: translateX(-405px);
    }

    to {
        transform: translate(0);
    }
}

.circleBox {
    position: relative;
    display: flex;
    justify-content: center;
    width: 820px;
    height: 400px;
    border-radius: 10px;
    transform-style: preserve-3d;
}

.circleBoxMove {
    animation: panelSpan 2s forwards ease-in-out;
}

.circleBoxMoveR {
    animation: panelSpanR 2s forwards ease-in-out;
}

/* .loginDisappeare {
    animation: loginDisapeare 2s forwards;
}

.loginAppeare {
    animation: loginAppeare 1s forwards;
}

.signupAppeare {
    animation: signupAppeare 1s forwards;
}

.signupDisappeare {
    animation: signupDisappeare 1s forwards;
} */

.switchButtonMoveL {
    animation: switchButtonMoveL 2s forwards;
}

.switchButtonMoveR {
    animation: switchButtonMoveR 2s forwards;
}

.jumpLetterJump {
    margin-bottom: 25px;
    color: rgb(165, 3, 3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.flowerContainer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.flowerContainer2 {
    transform: scale(2) rotateY(180deg);
    filter: blur(2px);
}

.flowerContainer3 {
    transform: scale(.8) rotateX(180deg);
    filter: blur(4px);
}

.flowerDiv {
    position: absolute;
    width: 100px;
    height: 100px;
}

.flower {
    width: 100px;
}

.flowerDiv1 {
    left: 10%;
    animation: flowerMove 15s linear infinite;
    animation-delay: -7s;
}

.flowerDiv2 {
    left: 30%;
    animation: flowerMove 20s linear infinite;
    animation-delay: -5s;
}

.flowerDiv3 {
    left: 60%;
    animation: flowerMove 15s linear infinite;
    animation-delay: -3s;
}

.flowerDiv4 {
    left: 90%;
    animation: flowerMove 15s linear infinite;
    animation-delay: 0s;
}

@keyframes flowerMove {
    0% {
        opacity: 0;
        top: -10%;
        transform: translateX(20px) rotate(45deg);
    }

    10% {
        opacity: 1;
    }

    20% {
        transform: translateX(-20px) rotate(90deg);
    }

    40% {
        transform: translateX(-20px) rotate(180deg);
    }

    60% {
        transform: translateX(20px) rotate(180deg);
    }

    80% {
        transform: translateX(-20px) rotate(180deg);
    }

    100% {
        top: 110%;
        transform: translateX(-20px) rotate(226deg);
    }

}